package cn.chenli.job.service;

import cn.chenli.job.model.QuartzJob;

/**
 *
 * Created by 陈李 on 2017/8/11.
 */
public interface QuartzJobService extends BaseService<QuartzJob> {

    /**
     * 启动定时器
     * @param quartzJob：定时器
     */
    boolean enable(QuartzJob quartzJob);

    /**
     * 停止定时器
     * @param quartzJob：定时器
     */
    boolean stopJob(QuartzJob quartzJob);
}
